<?php
/**
 * Created by PhpStorm.
 * User: lenovo
 * Date: 2018/10/6
 * Time: 16:37
 */
include "config.php";
$mark=$_REQUEST["mark"];
$uid=$_REQUEST["uid"];
$sql="UPDATE userinfo SET u_mark=u_mark+".$mark." WHERE u_id=".$uid."";
$link->query($sql);
$link->close();
print_r("true");